//
//  BluetoothCell.m
//  Anyair
//
//  Created by karlcool on 14-5-18.
//  Copyright (c) 2014年 Karlcool. All rights reserved.
//

#import "BluetoothCell.h"

@implementation BluetoothCell

- (void)awakeFromNib
{
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)enableInfo {
    
    [self.infoBtn addTarget:self action:@selector(clickBtn:) forControlEvents:UIControlEventTouchUpInside];
}

- (void)clickBtn:(UIButton*)sender {
    
    if ([self.delegate respondsToSelector:@selector(clickInfoBtn:InCell:)]) {
        [self.delegate clickInfoBtn:sender InCell:self];
    }
}
@end
